package com.jic.member.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.member.entity.MememberVipBase;
import com.jic.member.request.MemberVipRequest;
import com.jic.member.response.MemberVipResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * vip基础表
 * @author : 
 * @email : 
 * @since : 2020-04-06 01:06:58
 * @version : v1.0.0
 */
@Mapper
public interface  MememberVipBaseMapper {

    long insert(MememberVipBase mememberVipBase);

    long delete(Long id);

    long update(MememberVipBase mememberVipBase);

    MememberVipBase queryByPrimaryKey(Long id);

    List<MememberVipBase> query(MememberVipBase mememberVipBase);

    List<MemberVipResponse> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("mememberVipBase") MemberVipRequest memberVipRequest);

    long queryPageCount( @Param("mememberVipBase") MemberVipRequest memberVipRequest);
}